package com.nuc.thread.synchronizedTest;

import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.openjdk.jol.info.ClassLayout;

/**
 * @Description 打印出对象头。
 * @Author 诗酒趁年华
 * @Version V1.0.0
 * @Date 2021/5/30
 */
@Slf4j
public class TestBiased {
    @SneakyThrows
    public static void main(String[] args) {
        Dog dog = new  Dog();
        log.debug( ClassLayout.parseInstance(dog).toPrintable());

        Thread.sleep(3000);
        Dog dog1 = new Dog();
        log.debug( ClassLayout.parseInstance(dog1).toPrintable());
    }


}
class Dog{

}
